Optimal. Leaf size=87 \[ \frac{\sqrt{a^2 x^2+1} \text{CosIntegral}\left (\tan ^{-1}(a x)\right )}{4 a^3 c^2 \sqrt{a^2 c x^2+c}}-\frac{\sqrt{a^2 x^2+1} \text{CosIntegral}\left (3 \tan ^{-1}(a x)\right )}{4 a^3 c^2 \sqrt{a^2 c x^2+c}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.273019, antiderivative size = 87, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 4, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.167, Rules used = {4971, 4970, 4406, 3302} \[ \frac{\sqrt{a^2 x^2+1} \text{CosIntegral}\left (\tan ^{-1}(a x)\right )}{4 a^3 c^2 \sqrt{a^2 c x^2+c}}-\frac{\sqrt{a^2 x^2+1} \text{CosIntegral}\left (3 \tan ^{-1}(a x)\right )}{4 a^3 c^2 \sqrt{a^2 c x^2+c}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4971
Rule 4970
Rule 4406
Rule 3302
Rubi steps
\begin{align*} \int \frac{x^2}{\left (c+a^2 c x^2\right )^{5/2} \tan ^{-1}(a x)} \, dx &=\frac{\sqrt{1+a^2 x^2} \int \frac{x^2}{\left (1+a^2 x^2\right )^{5/2} \tan ^{-1}(a x)} \, dx}{c^2 \sqrt{c+a^2 c x^2}}\\ &=\frac{\sqrt{1+a^2 x^2} \operatorname{Subst}\left (\int \frac{\cos (x) \sin ^2(x)}{x} \, dx,x,\tan ^{-1}(a x)\right )}{a^3 c^2 \sqrt{c+a^2 c x^2}}\\ &=\frac{\sqrt{1+a^2 x^2} \operatorname{Subst}\left (\int \left (\frac{\cos (x)}{4 x}-\frac{\cos (3 x)}{4 x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{a^3 c^2 \sqrt{c+a^2 c x^2}}\\ &=\frac{\sqrt{1+a^2 x^2} \operatorname{Subst}\left (\int \frac{\cos (x)}{x} \, dx,x,\tan ^{-1}(a x)\right )}{4 a^3 c^2 \sqrt{c+a^2 c x^2}}-\frac{\sqrt{1+a^2 x^2} \operatorname{Subst}\left (\int \frac{\cos (3 x)}{x} \, dx,x,\tan ^{-1}(a x)\right )}{4 a^3 c^2 \sqrt{c+a^2 c x^2}}\\ &=\frac{\sqrt{1+a^2 x^2} \text{Ci}\left (\tan ^{-1}(a x)\right )}{4 a^3 c^2 \sqrt{c+a^2 c x^2}}-\frac{\sqrt{1+a^2 x^2} \text{Ci}\left (3 \tan ^{-1}(a x)\right )}{4 a^3 c^2 \sqrt{c+a^2 c x^2}}\\ \end{align*}
Mathematica [A] time = 0.109361, size = 53, normalized size = 0.61 \[ \frac{\sqrt{c \left (a^2 x^2+1\right )} \left (\text{CosIntegral}\left (\tan ^{-1}(a x)\right )-\text{CosIntegral}\left (3 \tan ^{-1}(a x)\right )\right )}{4 a^3 c^3 \sqrt{a^2 x^2+1}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.655, size = 84, normalized size = 1. \begin{align*} -{\frac{{\it Ci} \left ( 3\,\arctan \left ( ax \right ) \right ) }{4\,{c}^{3}{a}^{3}}\sqrt{c \left ( ax-i \right ) \left ( ax+i \right ) }{\frac{1}{\sqrt{{a}^{2}{x}^{2}+1}}}}+{\frac{{\it Ci} \left ( \arctan \left ( ax \right ) \right ) }{4\,{c}^{3}{a}^{3}}\sqrt{c \left ( ax-i \right ) \left ( ax+i \right ) }{\frac{1}{\sqrt{{a}^{2}{x}^{2}+1}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{2}}{{\left (a^{2} c x^{2} + c\right )}^{\frac{5}{2}} \arctan \left (a x\right )}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\sqrt{a^{2} c x^{2} + c} x^{2}}{{\left (a^{6} c^{3} x^{6} + 3 \, a^{4} c^{3} x^{4} + 3 \, a^{2} c^{3} x^{2} + c^{3}\right )} \arctan \left (a x\right )}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{2}}{\left (c \left (a^{2} x^{2} + 1\right )\right )^{\frac{5}{2}} \operatorname{atan}{\left (a x \right )}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{2}}{{\left (a^{2} c x^{2} + c\right )}^{\frac{5}{2}} \arctan \left (a x\right )}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]